package cn.com.flower.passport.dao.persist.mapper;

import cn.com.flower.passport.pojo.entity.User;
import cn.com.flower.passport.pojo.vo.UserLoginInfoVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends BaseMapper<User> {

    /**
     * 查询用户登录信息
     * @param username 用户名
     * @return 用户信息
     */
    UserLoginInfoVO getLoginInfoByUsername(String username);

}
